package com.cloudcc.mobile.entity;

import java.io.Serializable;
import java.util.List;

import com.cloudcc.mobile.entity.addmicropost.Polls;
import com.cloudcc.mobile.entity.comment.Comments;
import com.lidroid.xutils.db.annotation.Table;

// 我所追随的内容   可能包括，文件，链接，文字，投票 图片
@Table(name = "MyChatter")
public class MyChatter implements Serializable {
	public String id;
	public String body;//
	public String feedType;//
	public String authorIdname;//
	public String praisenum;// //赞数
	public boolean isfavorited;//
	public String createDate;//
	public boolean ispraised;//
	public boolean photo;//
	public String targetType;//
	public String authorId;//
	public String linkValue; // "http://www.baidu.com"
	public String linkName;// "百度"
	public String fileId;
	public List<FeedFile> feedFile;
	public List<Comments> comments;// 评论comments
	public String marknum;// 收藏数量
	public List<Polls> polls;
	public String longitude;
	public String latitude;
	public String address;
	public boolean tpflag;

	public String targetIdname;
	public String targetId;

	public String taskOrEventName;
	public String taskIdOrEventId;

	public MyChatter() {
		super();
	}

	public MyChatter(String id, String body, String feedType,
			String authorIdname, String praisenum, boolean isfavorited,
			String createDate, boolean ispraised, boolean photo,
			String targetType, String authorId, String linkValue,
			String linkName, String fileId, List<FeedFile> feedFile,
			List<Comments> comments, String marknum, List<Polls> polls,
			String longitude, String latitude, String address, boolean tpflag,
			String targetIdname, String targetId) {
		super();
		this.id = id;
		this.body = body;
		this.feedType = feedType;
		this.authorIdname = authorIdname;
		this.praisenum = praisenum;
		this.isfavorited = isfavorited;
		this.createDate = createDate;
		this.ispraised = ispraised;
		this.photo = photo;
		this.targetType = targetType;
		this.authorId = authorId;
		this.linkValue = linkValue;
		this.linkName = linkName;
		this.fileId = fileId;
		this.feedFile = feedFile;
		this.comments = comments;
		this.marknum = marknum;
		this.polls = polls;
		this.longitude = longitude;
		this.latitude = latitude;
		this.address = address;
		this.tpflag = tpflag;
		this.targetIdname = targetIdname;
		this.targetId = targetId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getFeedType() {
		return feedType;
	}

	public void setFeedType(String feedType) {
		this.feedType = feedType;
	}

	public String getAuthorIdname() {
		return authorIdname;
	}

	public void setAuthorIdname(String authorIdname) {
		this.authorIdname = authorIdname;
	}

	public String getPraisenum() {
		return praisenum;
	}

	public void setPraisenum(String praisenum) {
		this.praisenum = praisenum;
	}

	public boolean isIsfavorited() {
		return isfavorited;
	}

	public void setIsfavorited(boolean isfavorited) {
		this.isfavorited = isfavorited;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public boolean isIspraised() {
		return ispraised;
	}

	public void setIspraised(boolean ispraised) {
		this.ispraised = ispraised;
	}

	public boolean isPhoto() {
		return photo;
	}

	public void setPhoto(boolean photo) {
		this.photo = photo;
	}

	public String getTargetType() {
		return targetType;
	}

	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}

	public String getAuthorId() {
		return authorId;
	}

	public void setAuthorId(String authorId) {
		this.authorId = authorId;
	}

	public String getLinkValue() {
		return linkValue;
	}

	public void setLinkValue(String linkValue) {
		this.linkValue = linkValue;
	}

	public String getLinkName() {
		return linkName;
	}

	public void setLinkName(String linkName) {
		this.linkName = linkName;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public List<FeedFile> getFeedFile() {
		return feedFile;
	}

	public void setFeedFile(List<FeedFile> feedFile) {
		this.feedFile = feedFile;
	}

	public List<Comments> getComments() {
		return comments;
	}

	public void setComments(List<Comments> comments) {
		this.comments = comments;
	}

	public String getMarknum() {
		return marknum;
	}

	public void setMarknum(String marknum) {
		this.marknum = marknum;
	}

	public List<Polls> getPolls() {
		return polls;
	}

	public void setPolls(List<Polls> polls) {
		this.polls = polls;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public boolean isTpflag() {
		return tpflag;
	}

	public void setTpflag(boolean tpflag) {
		this.tpflag = tpflag;
	}

	public String getTargetIdname() {
		return targetIdname;
	}

	public void setTargetIdname(String targetIdname) {
		this.targetIdname = targetIdname;
	}

	public String getTargetId() {
		return targetId;
	}

	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}

	public String getTaskOrEventName() {
		return taskOrEventName;
	}

	public void setTaskOrEventName(String taskOrEventName) {
		this.taskOrEventName = taskOrEventName;
	}

	public String getTaskIdOrEventId() {
		return taskIdOrEventId;
	}

	public void setTaskIdOrEventId(String taskIdOrEventId) {
		this.taskIdOrEventId = taskIdOrEventId;
	}

}
